TAR Çıkarma
TAR files are most commonly used for bundling and compressing multiple files and directories into a single archive. However, extracting them could be troublesome at times, as they are used in conjunction with GZIP and BZIP2. However, with the versatility of IronZIP, we can simply call the IronTarArchive class to extract the contents of the TAR for the last layer and then further extract it in the second format, all within a single library.
Extracting TAR File with C#
- using IronZip;
IronTarArchive.ExtractArchiveToDirectory("output.tar", "extracted");
TAR Arşivini Çıkarma
Başlamak için, projemize erişim sağlamak üzere IronZip ad alanını dahil etmemiz gerekiyor. We can then use the IronTarArchive class to extract the contents of the TAR file with the method ExtractArchiveToDirectory.
Bu fonksiyonun, bir TAR dosyasının içeriğini belirli bir dizine açmak için tasarlanmıştır. İlk parametre, çıkartmak istediğiniz TAR dosyasının tam yolu olmalıdır. İkinci parametre, çıkarılan dosyaların saklanacağı hedef klasörü belirtir.

